<?php

return [
    [
        //配置名称,该值在当前数组配置中确保唯一
        'name' => 'dataLimit',
        //配置标题
        'title' => '设计权限',
        //配置类型,支持string/text/number/datetime/array/select/selects/image/images/file/files/checkbox/radio/bool
        'type' => 'select',
        //配置select/selects/checkbox/radio/bool时显示的列表项
        'content' => [
            '' => '不启用',
            'auth' => '本人及下级',
            'personal' => '本人'
        ],
        //配置值
        'value' => 'personal',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        //配置名称,该值在当前数组配置中确保唯一
        'name' => 'dataLimitField',
        //配置标题
        'title' => '权限关联字段',
        //配置类型,支持string/text/number/datetime/array/select/selects/image/images/file/files/checkbox/radio/bool
        'type' => 'string',
        //配置select/selects/checkbox/radio/bool时显示的列表项
        'content' => [],
        //配置值
        'value' => 'admin_id',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
];
